home *** CD-ROM | disk | FTP | other *** search
- Path: walrus.megabaud.fi!not-for-mail
- From: petrin@walrus.megabaud.fi (Petri Nordlund)
- Newsgroups: comp.sys.amiga.applications
- Subject: Executive Probs with Maple
- Date: 9 Jan 1996 16:17:18 +0200
- Organization: Megabaud Oy,Helsinki,Finland
- Message-ID: <4cttde$701@walrus.megabaud.fi>
- NNTP-Posting-Host: walrus.megabaud.fi
-
- Oliver Fels <Oliver@stanley.zebra.fh-weingarten.de> wrote:
-
- >I am actually using the symbolic arithmetical package MapleV.
- >iUnfortunately the Plot3D module doesn┤t open a screen and does not return back
- >to Maple, if Executive is running. Result: Maple hangs. ( Execute is definitely
- >responsible).
- >Setting all Maple task schedule settings to IGNORE did not work.
- >Any ideas ?
-
- Hi, I'm the author of Executive.
-
- Maple normally runs at priority 0, if you don't change its priority
- before or after you start it. Maple starts a task called "MaplePlot3D"
- and gives it priority -24. Maple expects that the priority of the
- plot-task is lower than the main task. Programs really shouldn't
- be written this way, there's absolutely no need to do so.
-
- Even though Executive is responsible for changing the priorities,
- you can't blame it for this bug. If you'd use Maple without Executive
- and notice that when it's running at priority 0, you can't do much
- else with your computer. So let's change Maple's priority to -50.
- The result: Plot doesn't work anymore. Executive just changes
- priorities automatically.
-
- What you need to do is to keep the Maple main task's priority at 0,
- the plot-task can be scheduled. Just go to ExecutivePrefs's Tasks-
- section, click the New-button, type "MapleV" into the Name-gadget
- and hit Ok two times. Save the prefs and restart Executive. That's it.
-
- The IGNORE-option in Executive shouldn't be used for anything. It
- tells Executive to completely ignore a task. IGNORE is reserved for
- one special case: The SAS/C Codeprobe (CPR) debugger creates a task
- called "VISOR input processor". This task is created normally with
- exec.library's AddTask() function, but it's not removed using RemTask().
- Needless to say, this is not very system friendly. Executive will
- automatically ignore this task. So as I said, don't use IGNORE for
- anything, use NOSCHEDULE instead.
- --
- __
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~///~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Petri Nordlund __/// petrin@megabaud.fi
- ---------------------------------\XX/----------------------------------
-